import request from './http';


// 歌手单曲
export function getSingerd(id) {
    return request({
        url: '/artists',
        method: "get",
        params: {
            id: id
        }
    })
}

// 歌手专辑
export function getSingerdAlbum(id) {
    return request({
        url: '/artist/album',
        method: "get",
        params: {
            id: id
        }
    })
}

// 歌手mv
export function getSingerdMv(id) {
    return request({
        url: '/artist/mv',
        method: "get",
        params: {
            id: id,
            limit: 20
        }
    })
}

// 歌手详情
export function getSingerddetails(id) {
    return request({
        url: '/artist/detail',
        method: "get",
        params: {
            id: id,
        }
    })
}

export function getSingerdsub(params) {
    return request({
        url: '/artist/sub',
        method: "get",
        params
    })
}